#include "WidgetLog.h"
#include <iostream>
#include "ui_WidgetLog.h"

WidgetLog::WidgetLog(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::WidgetLog)
{
    ui->setupUi(this);
}

WidgetLog::~WidgetLog()
{
    delete ui;
}
   
void WidgetLog::addLogText(const QString& str)
{
    ui->textBrowser->append(str);
}
